<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>下拉菜单</title>
    <style>
        nav {
            width: 800px;
            margin: 0 auto;
        }
        
        ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
        
        ul li {
            float: left;
            margin-right: 50px;
            font-size: 30px;
        }
        
        ul li a {
            text-decoration: none;
            color: black;
        }
        
        ul li a:hover {
            text-decoration: underline;
            color: red;
        }
        
        /*#button {
            width: 80px;
            height: 40px;
            background-color: green;
            font-size: 20px;
            margin-top: 0px;
        }*/
    </style>
</head>

<body>
    <nav>
        <ul>
            <li><a href="">刘想想</a></li>
            <li><a href="">单纯</a></li>
           

            <div class="dropdown">
                <a href="#" class="dropbtn">下拉菜单</a>
                <div class="dropdown-content">
                    <a href="#">链接 1</a>
                    <a href="#">链接 2</a>
                    <a href="#">链接 3</a>
                </div>
        </ul>

    </nav>
</body>

</html>